projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be3d9af
)
xm: display domain id on domain creation
author
Keir Fraser
<keir.fraser@citrix.com>
Thu, 13 Nov 2008 10:50:50 +0000
(10:50 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Thu, 13 Nov 2008 10:50:50 +0000
(10:50 +0000)
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
tools/python/xen/xm/create.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xm/create.py
b/tools/python/xen/xm/create.py
index eb8f3e237c3340f63c8641fcf1bcd914c063116b..3620e4968d109e1e5856ceab73017bd1d2d93b55 100644
(file)
--- a/
tools/python/xen/xm/create.py
+++ b/
tools/python/xen/xm/create.py
@@
-1202,8
+1202,9
@@
def make_domain(opts, config):
except:
server.xend.domain.destroy(dom)
err("Failed to unpause domain %s" % dom)
- opts.info("Started domain %s" % (dom))
- return int(sxp.child_value(dominfo, 'domid'))
+ domid = int(sxp.child_value(dominfo, 'domid'))
+ opts.info("Started domain %s (id=%d)" % (dom, domid))
+ return domid
def get_xauthority():